//
//  ZZLaunchViewController.m
//  ZuZuBao
//
//  Created by 龚洪 on 2024/4/25.
//

#import "ZZLaunchViewController.h"

@interface ZZLaunchViewController ()

@property (nonatomic, strong) UIImageView *img;

@end

@implementation ZZLaunchViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    [self.view addSubview:self.img];
}

- (void)viewWillLayoutSubviews {
    [super viewWillLayoutSubviews];
    self.img.frame = self.view.frame;
}

- (UIImageView *)img {
    if (!_img) {
        _img = [[UIImageView alloc] init];
        _img.image = [UIImage imageNamed:@"launch_image"];
        _img.contentMode = UIViewContentModeScaleAspectFill;
    }
    return _img;
}

@end
